package com.yunjian.core.basic.mapper;

import com.yunjian.core.basic.model.SResource;
import com.yunjian.core.basic.model.SResourceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SResourceMapper {

	/**
	 * @mbggenerated
	 */
	int countByExample(SResourceExample example);

	/**
	 * @mbggenerated
	 */
	int deleteByExample(SResourceExample example);

	/**
	 * @mbggenerated
	 */
	int deleteByPrimaryKey(String resId);

	/**
	 * @mbggenerated
	 */
	int insert(SResource record);

	/**
	 * @mbggenerated
	 */
	int insertSelective(SResource record);

	/**
	 * @mbggenerated
	 */
	List<SResource> selectByExample(SResourceExample example);

	/**
	 * @mbggenerated
	 */
	SResource selectByPrimaryKey(String resId);

	/**
	 * @mbggenerated
	 */
	int updateByExampleSelective(@Param("record") SResource record,
			@Param("example") SResourceExample example);

	/**
	 * @mbggenerated
	 */
	int updateByExample(@Param("record") SResource record,
			@Param("example") SResourceExample example);

	/**
	 * @mbggenerated
	 */
	int updateByPrimaryKeySelective(SResource record);

	/**
	 * @mbggenerated
	 */
	int updateByPrimaryKey(SResource record);
}